#pragma once

#include <cxcore.h>
#include <cv.h>

class CLearnRate
{
public:
    CLearnRate(void);
    ~CLearnRate(void);
public:
    float GetLearnRate(IplImage * pImage,IplImage * pBGImage,IplImage * pMask = NULL);

private:
    IplImage * pHSV;
    IplImage *pVImage;
    bool isFirst;
};
